package com.shell.governor.modules.dao;

import com.shell.bee.persistence.mapper.BaseMapper;
import com.shell.governor.modules.po.PubDictionary;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface PubDictionaryDao extends BaseMapper<PubDictionary> {
	public abstract int setDictionaryStatusWithCascade(PubDictionary paramPubDictionary);

	public abstract int deleteDictionaryWithCascade(PubDictionary paramPubDictionary);

	public abstract List<PubDictionary> selectDictionaryTree(PubDictionary paramPubDictionary);

	public abstract int updateDictionaryStateWithCascade(@Param("dicId") String paramString1,
			@Param("dicState") String paramString2);

	public abstract List<PubDictionary> selectChildDictByParentCode(@Param("parentCode") String paramString);
}
